package cn.dxh.stagefinal.service;

import cn.dxh.stagefinal.bean.Company;
import cn.dxh.stagefinal.bean.Department;

import java.util.List;

/**
 * IntelliJ IDEA -> stagefinal
 * 2019/12/10 9:41
 *
 * @author zmyao
 * 别看，我是渣渣。
 */
public interface DepartmentService {
    int   insertDepartment(Department department);
List<Department> findDepartments();
int  deleteDepartmentByDid(Integer dId) ;
Department  findDepartmentByDid(Integer dId);
int updatedepartment(Department department);

 }
